<include file="Public/res/taglibs"/>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>__ADMINTITLE__</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <include file="Public/res/css"/>
</head>
<body class="hold-transition sidebar-mini skin-purple">
<div class="wrapper">
    <include file="Public/page/navbar"/>
    <include file="Public/page/sidebar"/>
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper" id="content_wrapper">
        <include file="Public/page/breadcrumbs"/>
        <section id="content" class="content"></section>
    </div>
    <!-- /.content-wrapper -->
    <include file="Public/page/footer"/>

    <!-- Add the sidebar's background. This div must be placed
       immediately after the control sidebar -->
    <div class="control-sidebar-bg"></div>
</div>
<!-- ./wrapper -->
<include file="Public/res/js"/>
<script>
    $('#loginout').on('click', function () {
        $.ajax({
            type : "get",
            url : 'aloginout',
            dataType:"json",
            success : function(msg) {
                if (msg.code == 0) {
                    //window.location.href = 'http://{$_SERVER['HTTP_HOST']}__ROOT__/__ADMIN__';
                    window.location.reload();
                }
            }
        });
    });
</script>
</body>
</html>